package com.qf.service.Imp;

import com.qf.mapper.DistrictMapper;
import com.qf.pojo.District;
import com.qf.service.DistrictService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DistrictServiceImpl implements DistrictService {

    @Autowired
    DistrictMapper districtMapper;



    @Override
    public List<District> districtList() {
        return districtMapper.selectAll();
    }
}
